﻿using EasyToHelp.DBFactory;
using EasyToHelp.Entity;
using System;

namespace EasyToHelp.Business
{
    public class ReceiveAddressBll
    {
        public static int UpDate(ReceiveAddress Model)
        {
            string Sql = string.Format(@"UPDATE receiveaddress set defaultaddress='FALSE' where UserId=" + Model.UserId + "");
            return DBHelper.ExecuteNonQuery(Sql);
        }
    }
}